home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / SAT 2.4.0 / SAT / Add-ons / Graphic effects / Headers / SATSetDepth.h < prev   
Encoding:
Text File  |  1997-02-21  |  931 b   |  20 lines  |  [TEXT/KAHL]

  1. // SATSetDepth
  2. /* A unit for setting the screen depth.*/
  3. /* It follows the usual SAT standard for backwards compatibility - i.e. does NOT*/
  4. /* require Color QD!*/
  5. /* If you want to check/set for the main device, pass nil for the device. That way*/
  6. /* you can avoid all CQD-dependent calls in your own code.*/
  7.  
  8. /* Note! This unit is independent of SAT. Thus, it can NOT inform SAT of the depth switch, but*/
  9. /* you have to do that yourself! Call SATDepthChangeTest to let SAT redraw all faces*/
  10. /* it can. Faces created with GetFaceFromPICT and other advanced ways are your responsability*/
  11. /* to update.*/
  12.  
  13. pascal Boolean SATHasDepth(GDHandle theDevice, short desiredDepth);
  14. pascal short SATGetDepth(GDHandle theDevice);
  15. pascal OSErr SATSetDepth(GDHandle theDevice, short desiredDepth);
  16. pascal Boolean SATGetMode(GDHandle theDevice);
  17. pascal OSErr SATSetMode(GDHandle theDevice, Boolean wantsColor);
  18. pascal void SATRestoreDepth();
  19.  
  20.